class MyThread extends Thread{
	private int time ;
	public MyThread(int time){
		this.time = time ;
	}
	public void run(){
		for (int i = 0; i < this.time; i++) {
			System.out.println(i);
		}
		System.out.println(Thread.currentThread().getName()+" "+isAlive()) ;
	}
}